#include <stdio.h>
int main()
{
  /* write your code */
  int t,n;
  t=n%5;
  //while(t<1000)
  scanf("%d",&n);
 // if(0<=n/*%5 && n%5<4*/)
  // if(0<=t && t<4)
  if(4<=t)
    printf("Drying\n");
  else
    printf("Fishing\n");
  return(0);
}
